package com.doubi.model.sys;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * 【请填写功能名称】对象 t_finance_info
 * 
 * @author MrDoubi
 * @date 2020-04-07 11:00:21
 */
@Data
@TableName("t_finance_info")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
public class FinanceInfo extends Model<FinanceInfo>{
    private static final long serialVersionUID = 1L;

    /** 唯一标识 */
    @Override
    protected Serializable pkVal() {
        return this.oid;
    }
    @TableId(value = "oid", type = IdType.UUID)
    private String oid ;
    /** 1.订单退款  2.提现 */
    @TableField(value = "type")
    private Integer type ;
    /** 订单唯一标识 */
    @TableField(value = "order_oid")
    private String orderOid ;
    /** 金额 */
    @TableField(value = "price")
    private BigDecimal price ;
    /** 1.申请中 2.已经同意  3.驳回 */
    @TableField(value = "status")
    private Integer status ;
    /** 原因 */
    @TableField(value = "reason")
    private String reason ;
    /** 订单用户oid */
    @TableField(value = "user_oid")
    private String userOid ;
    /** 审核人 */
    @TableField(value = "examine_oid")
    private String examineOid ;
    /** 创建时间 */
    @TableField(value = "create_time")
    private Date createTime ;
    /** 审核时间 */
    @TableField(value = "examine_time")
    private Date examineTime ;
    /** 提现人名 */
    @TableField(value = "user_name")
    private String userName ;
    /** 提现人账户 */
    @TableField(value = "user_account")
    private String userAccount ;
    /** 1.微信 2.支付宝 */
    @TableField(value = "price_type")
    private Integer priceType ;
}
